﻿import { createCrudApi } from '@/utils/apiFactory';
import request from '@/utils/unirequest';
import type { IResult } from '@/type/common';
import type { ISysVisitorInformation, ISysVisitorInformationView, ISysVisitorInformationVm } from './interface';

export default function SysvisitorinformationApi() {
  // 基础CRUD用工厂生成
  const baseCrud = createCrudApi<
    ISysVisitorInformationView,
    ISysVisitorInformationVm,
    ISysVisitorInformation
  >('/api/SysVisitorInformation');

  return {
    ...baseCrud,
    // 如需额外接口可在此添加
  };
}